import request from '@/utils/request'

// 查询推送三方操作日志列表
export function listPushOpLog(query) {
  return request({
    url: '/pr/pushOpLog/list',
    method: 'get',
    params: query
  })
}

// 查询推送三方操作日志详细
export function getPushOpLog(id) {
  return request({
    url: '/pr/pushOpLog/' + id,
    method: 'get'
  })
}

// 新增推送三方操作日志
export function addPushOpLog(data) {
  return request({
    url: '/pr/pushOpLog',
    method: 'post',
    data: data
  })
}

// 修改推送三方操作日志
export function updatePushOpLog(data) {
  return request({
    url: '/pr/pushOpLog',
    method: 'put',
    data: data
  })
}

// 删除推送三方操作日志
export function delPushOpLog(id) {
  return request({
    url: '/pr/pushOpLog/' + id,
    method: 'delete'
  })
}
